package cn.iocoder.yudao.module.scenic.controller.admin.trip.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 线路 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TripRespVO {

    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16984")
    @ExcelProperty("自增主键")
    private Long id;

    @Schema(description = "线路名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("线路名称")
    private String name;

    @Schema(description = "线路描述", example = "你猜")
    @ExcelProperty("线路描述")
    private String description;

    @Schema(description = "线路部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12151")
    @ExcelProperty("线路部门id")
    private Long deptId;

    @Schema(description = "实践点ID集合")
    private List<Long> lineList;

    @Schema(description = "实践点名字集合")
    private List<String> lineNameList;

    @Schema(description = "图片地址", example = "xxx")
    @NotBlank(message = "图片地址不能为空")
    private String picAddress;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}